package com.cdtye.itps.cms.dao.direction.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.cdtye.itps.cms.dao.enums.DelFlagEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

@ApiModel("行别")
@Data
@Accessors(chain = true)
@TableName("JC_DIRECTION")
public class JcDirection{

    @ApiModelProperty(value = "行别ID")
    @TableId(value = "DIRECTION_ID", type = IdType.ASSIGN_UUID)
    private String directionId;

    @ApiModelProperty(value = "行别名称")
    private String directionName;

    @ApiModelProperty(value = "备注信息")
    private String memo;

    @ApiModelProperty(value = "排序号")
    private Long orderNum;

    @ApiModelProperty(value = "共享数据中心编码")
    private String mCode;

    @ApiModelProperty("创建时间")
    @TableField(value ="CREATE_DATETIME", fill = FieldFill.INSERT)
    private Date createDatetime;

    @ApiModelProperty("更新时间")
    @TableField(value ="UPDATE_DATETIME",fill = FieldFill.INSERT_UPDATE)
    private Date updateDatetime;

    @ApiModelProperty("创建人")
    @TableField(value ="CREATE_BY", fill = FieldFill.INSERT)
    private String createBy;

    @ApiModelProperty("更新人")
    @TableField(value ="UPDATE_BY",fill = FieldFill.INSERT_UPDATE)
    private String updateBy;

    @ApiModelProperty("删除标志，Y=是，N=否")
    private String delFlag;


}
